package cn.xo68.metadata.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;



/** 
 * MetadataColumn 实体
 * @author wuyy(16349023@qq.com)
 * @date 2020年03月12日 11:44:16
 *
 */
@ApiModel("MetadataColumn 实体")
public class MetadataColumn implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("column_id")
	private Integer columnId;
	@ApiModelProperty("table_id")
	private Integer tableId;
	@ApiModelProperty("column_name")
	private String columnName;
	@ApiModelProperty("column_code")
	private String columnCode;
	/**
	 * 是否主键，0否，1是
	 */
	@ApiModelProperty("是否主键，0否，1是")
	private Byte primaryKey;
	@ApiModelProperty("comment")
	private String comment;
	@ApiModelProperty("create_time")
	private Date createTime;
	@ApiModelProperty("update_time")
	private Date updateTime;
	
	@Override
	public String toString(){
		return "columnId:"+this.columnId+","+"tableId:"+this.tableId+","+"columnName:"+this.columnName+","+"columnCode:"+this.columnCode+","+"primaryKey:"+this.primaryKey+","+"comment:"+this.comment+","+"createTime:"+this.createTime+","+"updateTime:"+this.updateTime;
	}
	

	public Integer getColumnId() {
		return this.columnId;
	}
	public void setColumnId(Integer value) {
		this.columnId = value;
	}	

	public Integer getTableId() {
		return this.tableId;
	}
	public void setTableId(Integer value) {
		this.tableId = value;
	}	

	public String getColumnName() {
		return this.columnName;
	}
	public void setColumnName(String value) {
		this.columnName = value;
	}	

	public String getColumnCode() {
		return this.columnCode;
	}
	public void setColumnCode(String value) {
		this.columnCode = value;
	}	

	public Byte getPrimaryKey() {
		return this.primaryKey;
	}
	public void setPrimaryKey(Byte value) {
		this.primaryKey = value;
	}	

	public String getComment() {
		return this.comment;
	}
	public void setComment(String value) {
		this.comment = value;
	}	

	public Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(Date value) {
		this.createTime = value;
	}	

	public Date getUpdateTime() {
		return this.updateTime;
	}
	public void setUpdateTime(Date value) {
		this.updateTime = value;
	}	
}